FROM 10.3.0.171/dao/anapsix/alpine-java-8-server-jre-unlimited:8_server-jre_unlimited
MAINTAINER xxx@xxx.com
VOLUME '/tmp'
ARG JAR_FILE=./target/spring-cloud-gateway.jar
ADD ${JAR_FILE} /app/spring-cloud-gateway.jar
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
CMD ["java", "-Xmx200m", "-jar", "/app/spring-cloud-gateway.jar"]